package com.bishe.psy.dao;

import com.bishe.psy.model.ConUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ConUserMapper {
    int insert(ConUser row);

    int insertSelective(ConUser row);

    ConUser selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ConUser row);

    int updateByPrimaryKey(ConUser row);

    ConUser ConselectByUsername(@Param("username") String username);

    //查询所有咨询师
    List<ConUser> selectAllInfo();
}